package com.xxx.inner;

import java.util.ArrayList;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/15 15:22
 * @Copyright 博为峰
 */
public class Outer03 {
    Object show() {
        class Inner {//局部内部类
            void show(){
                System.out.println("局部内部类");
            }
        }
        Inner inner = new Inner();
        return inner;
    }
}

class Test03 {
    public static void main(String[] args) {
        Outer03 outer03 = new Outer03();
        Object inner = outer03.show();
        new ArrayList<String>();
    }
}
